<?php
// +----------------------------------------------------------------------
// | Tpli [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Author 荒年 < 931274989@qq.com >
// +----------------------------------------------------------------------
// | Explain 系统菜单验证
// +----------------------------------------------------------------------

namespace app\admin\validate;
class Menu extends BaseValidate
{
  protected $rule = [
    'name' => 'require',
    'pid' => 'require',
    'type' => 'require'
  ];

  protected $message = [
    'name.require' => '菜单名称不能为空',
    'pid.require' => '请选择上级菜单',
    'type.require' => '请选择菜单类型'
  ];

}
?>